package com.example.choupaiapp.main.bean;

import java.io.Serializable;

/**
 * Created by ASUS on 2019/12/3.
 */

public class FindDetailBean implements Serializable {

    /**
     * msg : success
     * discover : {"id":2,"categoriesId":2,"userId":1,"status":1,"image":"http://qiniu.qmdl666.com/19935329049N201992010272697.jpg","title":"标题2","content":"http://qiniu.qmdl666.com/19935329049N201992010272697.jpg","type":1,"likeSum":0,"readSum":0,"shareSum":0,"commentSum":0,"createTime":"2019-12-02 10:50:19","updateTime":"2019-12-03 09:00:14","isDel":0,"nickname":"昵称1231231","avatar":"http://qiniu.qmdl666.com/26138401N201910211681019.jpg?imageView2/1/w/100/h/100","isAttention":0,"isLike":0}
     * code : 0
     */

    private String msg;
    private DiscoverBean discover;
    private int code;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DiscoverBean getDiscover() {
        return discover;
    }

    public void setDiscover(DiscoverBean discover) {
        this.discover = discover;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DiscoverBean implements Serializable{
        /**
         * id : 2
         * categoriesId : 2
         * userId : 1
         * status : 1
         * image : http://qiniu.qmdl666.com/19935329049N201992010272697.jpg
         * title : 标题2
         * content : http://qiniu.qmdl666.com/19935329049N201992010272697.jpg
         * type : 1
         * likeSum : 0
         * readSum : 0
         * shareSum : 0
         * commentSum : 0
         * createTime : 2019-12-02 10:50:19
         * updateTime : 2019-12-03 09:00:14
         * isDel : 0
         * nickname : 昵称1231231
         * avatar : http://qiniu.qmdl666.com/26138401N201910211681019.jpg?imageView2/1/w/100/h/100
         * isAttention : 0
         * isLike : 0
         */

        private int id;
        private int categoriesId;
        private int userId;
        private int status;
        private String image;
        private String title;
        private String content;
        private int type;
        private int likeSum;
        private int readSum;
        private int shareSum;
        private int commentSum;
        private String createTime;
        private String updateTime;
        private int isDel;
        private String nickname;
        private String avatar;
        private int isAttention;
        private int isLike;
        private String coverImage;

        public String getCoverImage() {
            return coverImage==null?"":coverImage;
        }

        public void setCoverImage(String coverImage) {
            this.coverImage = coverImage;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getCategoriesId() {
            return categoriesId;
        }

        public void setCategoriesId(int categoriesId) {
            this.categoriesId = categoriesId;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getLikeSum() {
            return likeSum;
        }

        public void setLikeSum(int likeSum) {
            this.likeSum = likeSum;
        }

        public int getReadSum() {
            return readSum;
        }

        public void setReadSum(int readSum) {
            this.readSum = readSum;
        }

        public int getShareSum() {
            return shareSum;
        }

        public void setShareSum(int shareSum) {
            this.shareSum = shareSum;
        }

        public int getCommentSum() {
            return commentSum;
        }

        public void setCommentSum(int commentSum) {
            this.commentSum = commentSum;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getIsDel() {
            return isDel;
        }

        public void setIsDel(int isDel) {
            this.isDel = isDel;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public int getIsAttention() {
            return isAttention;
        }

        public void setIsAttention(int isAttention) {
            this.isAttention = isAttention;
        }

        public int getIsLike() {
            return isLike;
        }

        public void setIsLike(int isLike) {
            this.isLike = isLike;
        }
    }
}
